import {Http} from "../utils/http";

class Banner {
    static locationB = 'b-1'
    static locationG = 'b-2'

    static async getHomeLocationB() {
        const bannerB = await Http.request({
            url: 'banner'
        })
        return bannerB.data
    }

    static async getHomeLocationG() {
        const bannerG = await Http.request({
            url: 'banner2'
        })
        return bannerG.data
    }

}

export {
    Banner
}